projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f4664
)
* xdisp.c (redisplay_window): No need to subtract BEGV to compute
author
Jim Blandy
<jimb@redhat.com>
Wed, 16 Jun 1993 14:13:15 +0000
(14:13 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Wed, 16 Jun 1993 14:13:15 +0000
(14:13 +0000)
the scroll bar handle's end.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index e9777efee39c5c1c5f231fe7e065fb0c667f8f2a..f2da1dd25cefc4d00499441eb44f8fc5afa8177d 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-1079,7
+1079,7
@@
done:
start = startp - BEGV;
/* I don't think this is guaranteed to be right. For the
moment, we'll pretend it is. */
- end = (Z - XINT (w->window_end_pos))
- BEGV
;
+ end = (Z - XINT (w->window_end_pos));
if (end < start) end = start;
if (whole < (end - start)) whole = end - start;